Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio
Order section
The Order section of the Order Tracking System contains SmartObjects for querying, viewing, adding, and changing order information.
The Order section has the following buttons:
Placing new orders
The Place New Order button in the Order section opens the Order Entry/Maintenance window to create new orders.
The Order Entry/Maintenance window is a nonmodal child window of the main window. As a result, you can move between the Order Entry/Maintenance window and the main window by clicking on either one.
The Order/Entry Maintenance window has a SDV for viewing order information and a SmartFolder with two tabs. A SmartFolder is a SmartObject that organizes the display of information into logical groupings, usually presenting the most frequently needed information on the first tab. In this instance, you can view different levels of detail about the customer’s orders and the individual lines of an order by choosing different tabs.
![]()
To view order information and place a new order:
- Choose the Place New Order button. The Order Entry/Maintenance window appears:
![]()
The Order Header tab contains a SDV that displays information about the order currently shown in the Order section of the Order Tracking System main window. The Order Header tab also contains a Navigation panel and a record Update panel.
- Choose the Order Lines tab to view information about the order’s line items:
![]()
This tab contains a SDV that displays information about the individual order lines in the current order.
- Choose the browse button next to the Item field. The Item Selection window appears:
![]()
The Item Selection window is a SmartSelect Browser window with a dynamic SDB for browsing item information.
- Close the windows and return to the main window.
Table 2–13 describes the major objects in the Order Entry/Maintenance section of the Order Tracking System.
Finding orders
The Find Order button in the Order section opens the Find Order window to view order information.
The Find Order window is a nonmodal child window that is called from the main window. As a result, you can move between the Find Order window and the main window by clicking on either one.
The Find Order window contains a SmartFilter and a dynamic browser. Use the SmartFilter to define criteria to search through the selected customer’s orders. You can define a search query based on the date ordered, the order number, the order status, the sales representative, and the shipped date. Use the selection list to control which fields are displayed in the dynamic browser.
![]()
To view order information using a dynamic query:
- Choose the Find Order button. The Find Order window appears:
![]()
Initially, the window displays all available orders for the selected customer. You can use the Order filter section to define new search criteria to limit the orders that appear. You use the Select Fields Displayed in Browser selection list to define which fields you want to have displayed in the dynamic browser.
- Type 01/01/98 into the Shipped field and choose the Apply Filter button.
The browser now displays order information based on the shipped date you entered.
Note: The fields in the browser remain the same as those in the initial search.- From the Select Fields Displayed in Browser list, select the following fields for the browser:
- Choose the Re-display Browser button to display the new fields in the dynamic browser.
- Close the window and return to the main window.
Table 2–14 describes the major objects in the Find Order section of the Order Tracking System.
Changing orders
The Maintain Order button in the Order section opens the Order/Entry Maintenance window. This is the same module that you examined in the "Placing new orders" section. There are two entry points for this module to allow for differences in the way orders are created and updated.
If your business rules include differences in how orders are entered and how they are maintained, you would code custom triggers on these buttons to enforce those rules. For example, if only field agents could enter orders, you would code the Order Entry button to be disabled for anyone who was not a field agent.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |